﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace App.DAL
{
    public class EntityBase<T> where T : class
    {
        [Column(IsIdentity = true, IsPrimary = true, Position = 9999)]
        public string ID { get; set; } = Guid.NewGuid().ToString("N");

        [Column(IsIdentity = true, IsPrimary = true, Position = -9999)]
        public DateTime CreateDt { get; set; } 

    }
}
